﻿#include "FITKMeshNode.h"

namespace Interface
{
    FITKMeshNode::FITKMeshNode(const int id, const double x, const double y, const double z, bool isNative, unsigned int tag)
        : Core::FITKNode(id, x, y, z), _isNative(isNative), _tag(tag)
    {
        // 额外存储几何标记。
    }

    FITKMeshNode::FITKMeshNode(const int id, const double* coor, bool isNative, unsigned int tag)
        : Core::FITKNode(id, coor), _isNative(isNative), _tag(tag)
    {
        // 额外存储几何标记。
    }

    void FITKMeshNode::setTag(unsigned int tag)
    {
        // 设置几何标记。
        _tag = tag;
    }

    unsigned int FITKMeshNode::getTag() const
    {
        return _tag;
    }

    void FITKMeshNode::setNativeFlag(bool native)
    {
        // 设置几何关联性。
        _isNative = native;
    }

    bool FITKMeshNode::getNativeFlag() const
    {
        return _isNative;
    }
}
